package com.shun.upms.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author clever
 * @since 2021-09-27
 */
@TableName("sys_admin_menu")
@ApiModel(value = "SysAdminMenu对象", description = "菜单表")
public class SysAdminMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("主键id")
    private String menuId;

    @ApiModelProperty("父级ID")
    private String menuParentId;

    @ApiModelProperty("菜单编号")
    private String menuCode;

    @ApiModelProperty("菜单父编号")
    private String menuPcode;

    @ApiModelProperty("父菜单编号列表")
    private String menuPcodes;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

    @ApiModelProperty("route地址")
    private String menuRoute;

    @ApiModelProperty("url地址")
    private String menuUrl;

    @ApiModelProperty("菜单排序号")
    private Integer menuSort;

    @ApiModelProperty("菜单层级 1 目录 2 页面 3 按钮 4 资源")
    private String menuLevel;

    @ApiModelProperty("是否是菜单(字典) 0 是 1 否")
    private String menuFlag;

    @ApiModelProperty("备注")
    private String menuDesc;

    @ApiModelProperty("菜单状态(字典) 0 正常 1不可用")
    private String menuStatus;

    @ApiModelProperty("是否打开新页面的标识(字典) 0 是 1 否")
    private String newPageFlag;

    @ApiModelProperty("是否打开(字典) 0 是 1 否")
    private String menuOpenFlag;

    @ApiModelProperty("创建时间")
    private LocalDateTime dateCreated;

    @ApiModelProperty("更新时间")
    private LocalDateTime dateUpdated;

    @ApiModelProperty("创建人")
    private String createUser;

    @ApiModelProperty("修改人")
    private String updateUser;

    @ApiModelProperty("删除标识 0 正常 1 删除")
    @TableLogic
    private String delFlag;


    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getMenuParentId() {
        return menuParentId;
    }

    public void setMenuParentId(String menuParentId) {
        this.menuParentId = menuParentId;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public String getMenuPcode() {
        return menuPcode;
    }

    public void setMenuPcode(String menuPcode) {
        this.menuPcode = menuPcode;
    }

    public String getMenuPcodes() {
        return menuPcodes;
    }

    public void setMenuPcodes(String menuPcodes) {
        this.menuPcodes = menuPcodes;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getMenuRoute() {
        return menuRoute;
    }

    public void setMenuRoute(String menuRoute) {
        this.menuRoute = menuRoute;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public Integer getMenuSort() {
        return menuSort;
    }

    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    public String getMenuLevel() {
        return menuLevel;
    }

    public void setMenuLevel(String menuLevel) {
        this.menuLevel = menuLevel;
    }

    public String getMenuFlag() {
        return menuFlag;
    }

    public void setMenuFlag(String menuFlag) {
        this.menuFlag = menuFlag;
    }

    public String getMenuDesc() {
        return menuDesc;
    }

    public void setMenuDesc(String menuDesc) {
        this.menuDesc = menuDesc;
    }

    public String getMenuStatus() {
        return menuStatus;
    }

    public void setMenuStatus(String menuStatus) {
        this.menuStatus = menuStatus;
    }

    public String getNewPageFlag() {
        return newPageFlag;
    }

    public void setNewPageFlag(String newPageFlag) {
        this.newPageFlag = newPageFlag;
    }

    public String getMenuOpenFlag() {
        return menuOpenFlag;
    }

    public void setMenuOpenFlag(String menuOpenFlag) {
        this.menuOpenFlag = menuOpenFlag;
    }

    public LocalDateTime getDateCreated() {
        return dateCreated;
    }

    public void setDateCreated(LocalDateTime dateCreated) {
        this.dateCreated = dateCreated;
    }

    public LocalDateTime getDateUpdated() {
        return dateUpdated;
    }

    public void setDateUpdated(LocalDateTime dateUpdated) {
        this.dateUpdated = dateUpdated;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "SysAdminMenu{" +
        "menuId=" + menuId +
        ", menuParentId=" + menuParentId +
        ", menuCode=" + menuCode +
        ", menuPcode=" + menuPcode +
        ", menuPcodes=" + menuPcodes +
        ", menuName=" + menuName +
        ", menuIcon=" + menuIcon +
        ", menuRoute=" + menuRoute +
        ", menuUrl=" + menuUrl +
        ", menuSort=" + menuSort +
        ", menuLevel=" + menuLevel +
        ", menuFlag=" + menuFlag +
        ", menuDesc=" + menuDesc +
        ", menuStatus=" + menuStatus +
        ", newPageFlag=" + newPageFlag +
        ", menuOpenFlag=" + menuOpenFlag +
        ", dateCreated=" + dateCreated +
        ", dateUpdated=" + dateUpdated +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", delFlag=" + delFlag +
        "}";
    }
}
